package com.xc.freeapp.service.impl;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xc.freeapp.dao.DiseasestableDao;
import com.xc.freeapp.dao.dataSource.DBContextHolder;
import com.xc.freeapp.service.LeadingExaminingService;
@Service
public class LeadingExaminingServiceImpl implements LeadingExaminingService {
	@Autowired
	private DiseasestableDao diseasestableDao;

	public List<Map<String, Object>> getPossibleDiseases(Map<String, Object> paramsmap) {
		DBContextHolder.switchDataSourceR();//切换数据源
		return diseasestableDao.getPossibleDiseases(paramsmap);
	}
	
	

}
